package com.estun.backroundManagementService.modules.material.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.estun.backroundManagementService.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_rebind_his")
public class RebindHis extends BaseEntity {

    private String type;

    private Long productId;

    private String oldSn;

    private String newSn;

    /**
     * 默认 1
     * 重新绑定来源
     * 1 产线自动识别
     * 2 工厂mes推送
     */
    private Integer source;

}
